<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<title>飞腾会-FitaClub</title>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>
</head>
<!-- end header -->

<body>
  <div class="page-group">
    <div class="page page-current bg-light-gray">
      <header class="bar bar-nav fita-header">
        <a href="javascript:history.back(-1);" class="icon icon-left pull-left"></a>
        <a class="icon icon-menu pull-right open-panel"></a>
        <h1 class="title">我的订单</h1>
      </header>
      <div class="content">
        <div class="buttons-tab fixed-tab fita-buttons-tab" data-offset="54">
          <a href="" class="active button">保留预定</a>
          <a href="" class="button">待支付</a>
          <a href="" class="button">已支付</a>
          <a href="" class="button">已完成</a>
        </div>
      
        <div class="list order-list-layout">
          <div class="card fita-card">
            <div class="card-content">
              <div class="card-content-inner">
                <a href="">
                  <div class="row no-gutter cars-detail">
                    <div class="col-33 cars-type">
                      <c:choose>
                      <c:when test="${persist.modelGroups[order.details.carInfo.modelName] != null}">
                         <img src="${cloudContext.domain}/${persist.modelGroups[order.details.carInfo.modelName].picture}"/>
                      </c:when>
                      <c:otherwise>
                        <img src="${order.details.carInfo.picture}"/>
                      </c:otherwise>
                    </c:choose>
                    </div>
                    <div class="col-66 price-box">
                      <div class="location">
                        <div class="item">
                          <p>洛杉矶</p>
                          <span class="time">10-30 10:30</span>
                        </div>
                        <div class="item day"><p class="no-margin">30天</p></div>
                        <div class="item">
                          <p>洛杉矶</p>
                          <span class="time">11-30 10:30</span>
                        </div>
                      </div>
                      <div class="" style="margin-top: .5rem;">
                        <p class="no-margin">使用人:Hong Ji</p>
                        <p class="no-margin">Email:email@email.com</p>
                      </div>
                    </div>
                  </div>
                  
                  <div class="row">
                    <div class="col-25">日产 骐达<br>或类似车型</div>
                    <div class="col-75 text-right">
                      <p class="no-margin">订单总价：￥1,506.00</p>
                      <p class="no-margin">支付截止日期：2018年12月12日 12:00</p>
                    </div>
                  </div>
                </a>
                <div class="clearfix text-right">
                  <a href="" class="order-button cancel-button disable">取消订单</a>
                  <a href="" class="order-button cancel-button">立即支付</a>
                </div>
              </div>
            </div>
          </div>
          <div class="card fita-card">
            <div class="card-content">
              <div class="card-content-inner">
                <a href="">
                  <div class="row no-gutter cars-detail">
                    <div class="col-33 cars-type">
                      <img src="${ctx.resource}/images/cars/cars-product.png" />
                    </div>
                    <div class="col-66 price-box">
                      <div class="location">
                        <div class="item">
                          <p>洛杉矶</p>
                          <span class="time">10-30 10:30</span>
                        </div>
                        <div class="item day"><p class="no-margin">30天</p></div>
                        <div class="item">
                          <p>洛杉矶</p>
                          <span class="time">11-30 10:30</span>
                        </div>
                      </div>
                      <div class="" style="margin-top: .5rem;">
                        <p class="no-margin">使用人:Hong Ji</p>
                        <p class="no-margin">Email:email@email.com</p>
                      </div>
                    </div>
                  </div>
                  
                  <div class="row">
                    <div class="col-25">日产 骐达<br>或类似车型</div>
                    <div class="col-75 text-right">
                      <p class="no-margin">订单总价：￥1,506.00</p>
                      <p class="no-margin">支付截止日期：2018年12月12日 12:00</p>
                    </div>
                  </div>
                </a>
                <div class="clearfix text-right">
                  <a href="" class="order-button cancel-button disable">取消订单</a>
                  <a href="" class="order-button cancel-button">立即支付</a>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <!-- <div class="content">
       <p>我的订单页</p>
      </div> -->
    </div>
    
    <div class="panel-overlay"></div>
    <div class="panel panel-right panel-cover fita-panel">
      <div class="list-block contacts-block no-margin">
        <p class="menu-title close-panel">关闭</p>
	      <ul>
	        <li>
	          <a href="${ctx.host}/cars/search" class="item-content item-link">
	            <div class="item-inner">
	              <div class="item-title">立即租车</div>
	            </div>
	          </a>
	        </li>
	        <li>
	          <a href="${ctx.host}/profile" class="item-content item-link">
	            <div class="item-inner">
	              <div class="item-title">我的订单</div>
	            </div>
	          </a>
	        </li>
	      </ul>
      </div>
    </div>
  </div>
  <!-- <a ctx.host="/order/order-staying-list">保留预定</a>
  <a ctx.host="/order/order-unpaid-list">未支付</a>
  <a ctx.host="/order/order-paid-list">已支付</a>
  <a ctx.host="/order/order-finished-list">已完成</a> -->
  <%@ include file="/WEB-INF/include/script.jsp"%>
 
</body>
</html>